package com.example.dao;

import com.example.pojo.Student;
import org.dom4j.DocumentException;

import java.beans.IntrospectionException;
import java.beans.PropertyVetoException;
import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface IstudentDao {

    public List<Student> findAll() throws PropertyVetoException, DocumentException, Exception;

    public Student findByCondition(Student stu) throws IllegalAccessException, IntrospectionException, InstantiationException, NoSuchFieldException, SQLException, InvocationTargetException, ClassNotFoundException, PropertyVetoException, DocumentException, Exception;
}
